package com.alibaba.cirtus.ots.application.adapter.ability.model.sdo;

import lombok.Data;
import org.terracotta.statistics.Statistic;

import java.io.Serializable;
import java.util.List;

@Data
public class F2bMessageSDO implements Serializable {

    private static final long serialVersionUID = 3438274606234731969L;


    private String outMaterialCertificateId;

    private String outSourceOrderId;

    private String outDeliveryOrderId;

    private String postingTime;

//    private String createTime;

    private List<MaterialCertificateDetail> detailList;

    @Data
    public static class MaterialCertificateDetail implements Serializable {
        private static final long serialVersionUID = -8440625085791219433L;
        /**
         * SAP物流凭证行号
         */
        private String outLineId;

        /**
         * SAP销售单行号
         */
        private String outSourceOrderLineId;

        /**
         * 交货单行号
         */
        private String outDeliveryOrderLineId;
        /**
         * 货品编码
         */
        private String scItemId;
        /**
         * 工厂编码
         */
        private String factoryCode;
        /**
         * 库存地点编码
         */
        private String inventoryCode;

        /**
         * 逻辑仓编码
         */
//        private String logicWarehouseCode;

        /**
         * 借贷标识
         */
        private String dcSignal;
        /**
         * 数量
         */
        private String saleUnitQuantity;


        private String saleUnit;

        /**
         * sap移动类型
         */
        private String sapType;
    }
}
